
import java.awt.Frame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;



/**
 * 
 */

/**
 * @author 
 * Yannic Remmet			196983
 * Tobias Trabelsi			197112
 * Anna-Katharina Wickert	197122
 */
public class CirSqDrawer extends Frame  {

	private static final long serialVersionUID = 8812549740337983498L;
	
	/**
	 * 
	 */
	private CircleSquare canvas;
	private Menu men;
	
	public CirSqDrawer() {
		super("Draw");
		canvas = new CircleSquare();
		men = new Menu(canvas);
		add(canvas);
		setSize(500,500);
		setLocation(250, 250);
		
		setVisible(true);
		
		 addWindowListener(new WindowAdapter() {
	     	   public void windowClosing(WindowEvent e){
	     		   System.exit(0);
	     	   }
	        });
	}

}

  
  

